// import React, { memo } from 'react';
// import { ComsTypeEnum } from '@/types';

// // 业务组件
// import SingleSelect from '@/components/Survey/Materials/SelectComs/SingleSelect';
// import SinglePicSelect from '@/components/Survey/Materials/SelectComs/SinglePicSelect';
// import OptionSelect from '@/components/Survey/Materials/SelectComs/OptionSelect';
// import MuSelect from '@/components/Survey/Materials/SelectComs/MuSelect';
// import MuPicSelect from '@/components/Survey/Materials/SelectComs/MuPicSelect';
// import TextNode from '@/components/Survey/Materials/NoteComs/TextNode';

// // 编辑组件
// import TitleEditor from '@/components/Survey/EditItems/TitleEditor';
// import DescEditor from '@/components/Survey/EditItems/DescEditor';
// import PositionEditor from '@/components/Survey/EditItems/PositionEditor';
// import SizeEditor from '@/components/Survey/EditItems/SizeEditor';
// import WeightEditor from '@/components/Survey/EditItems/WeightEditor';
// import ItalicEditor from '@/components/Survey/EditItems/ItalicEditor';
// import ColorEditor from '@/components/Survey/EditItems/ColorEditor';
// import PicOptionEditor from '@/components/Survey/EditItems/PicOptionEditor';
// import TextTypeEditor from '@/components/Survey/EditItems/TextTypeEditor';

// // 形成组件名和具体组件的映射
// export const ComponentMap: { [key in ComsTypeEnum]: React.FC } = {
//   // 业务组件
//   [ComsTypeEnum.singleSelect]: memo(SingleSelect),
//   [ComsTypeEnum.muSelect]: memo(MuSelect),
//   // [ComsTypeEnum.optionSelect]: memo(OptionSelect),
//   // [ComsTypeEnum.singlePicSelect]: memo(SinglePicSelect),
//   // [ComsTypeEnum.muPicSelect]: memo(MuPicSelect),
//   // [ComsTypeEnum.textNode]: memo(TextNode),
//   [ComsTypeEnum.personInfoGender]: memo(SingleSelect),
//   [ComsTypeEnum.personInfoEdu]: memo(SingleSelect)

//   // 编辑组件
//   // [ComsTypeEnum.titleEditor]: memo(TitleEditor),
//   // [ComsTypeEnum.descEditor]: memo(DescEditor),
//   // [ComsTypeEnum.sizeEditor]: memo(SizeEditor),
//   // [ComsTypeEnum.weightEditor]: memo(WeightEditor),
//   // [ComsTypeEnum.positionEditor]: memo(PositionEditor),
//   // [ComsTypeEnum.colorEditor]: memo(ColorEditor),
//   // [ComsTypeEnum.italicEditor]: memo(ItalicEditor),
//   // [ComsTypeEnum.textTypeEditor]: memo(TextTypeEditor),
//   // [ComsTypeEnum.picOptionEditor]: memo(PicOptionEditor),
// };
